package models;

import java.util.*;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import play.db.jpa.Model;

@Entity
public class CarReturnReport extends Model {
	@ManyToOne
	public Contract contract;
	
	public String area;
	public String cr;
	public Date date;
	public ArrayList<Product> dirtyList = new ArrayList<Product>();
	public ArrayList<Product> cancelList = new ArrayList<Product>();
	public ArrayList<Product> newList = new ArrayList<Product>();
	public ArrayList<Product> cleanList = new ArrayList<Product>();


	public CarReturnReport(Contract contract, String area, Date date,
			ArrayList<Product> dirtyList, ArrayList<Product> cancelList,
			ArrayList<Product> newList, ArrayList<Product> cleanList,String cr) {
		super();
		this.contract = contract;
		this.area = area;
		this.date = date;
		this.dirtyList = dirtyList;
		this.cancelList = cancelList;
		this.newList = newList;
		this.cleanList = cleanList;
		this.cr=cr;
	}
	
	

}
